package com.dhcc.ws.webservice.service.demo;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

import org.apache.cxf.annotations.WSDLDocumentation;
import org.apache.cxf.annotations.WSDLDocumentationCollection;

/**
* <p>标题: DemoInterface.java</p>
* <p>业务描述:健康管理平台</p>
* <p>公司:东华软件股份公司</p>
* <p>版权:dhcc2013</p>
* @author 胡凯
* @date 2019年12月10日
* @version V1.0 
*/
@WebService(targetNamespace = "http://WebXml.com.cn/")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
@WSDLDocumentationCollection(
	    {
	        @WSDLDocumentation("这个一个测试接口"),
	        @WSDLDocumentation(value = "这个一个测试接口-顶部显示信息",
	                           placement = WSDLDocumentation.Placement.TOP),
	        @WSDLDocumentation(value = "这个一个测试接口-binding显示信息 ",
	                           placement = WSDLDocumentation.Placement.BINDING)
	    }
	)
public interface DemoInterface {
	@WSDLDocumentation( "获取name接口方法")
	@WebMethod(operationName="getName")
	@RequestWrapper(localName = "getName", targetNamespace = "http://WebXml.com.cn/")
    @ResponseWrapper(localName = "nameResponse", targetNamespace = "http://WebXml.com.cn/")
	public String getName(@WebParam(name="theName")String name);
}
